﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace VehicleManagement.Models
{
    [Table(Name = "TrackPoint")]
    public class TrackPoint
    {
        [Column(IsPrimaryKey = true)]
        public Guid TrackPointID { get; set; }

        [Column]
        public int TrackID { get; set; }

        [Column]
        public DateTime? Time { get; set; }

        [Column]
        public double Longitude { get; set; }

        [Column]
        public double Latitude { get; set; }

        [Column]
        public double Altitude { get; set; }

        [Column]
        public double Speed { get; set; }

        [Column]
        public string Information { get; set; }
    }
}
